package ooday05;

import java.io.FilterOutputStream;

public class StaticMethodHomework {
    int a;//实例变量
    static int b;//静态变量


    void say(){
        System.out.println(a);//可以加this，也可以不加
    }

    static int plus(int num1,int num2){
        int num = num1+num2;
        return num;
    }



    void show(){
        System.out.println(a);
    }


    static void test(){
        //System.out.println(a);//不是静态变量
        System.out.println(b);
    }


}
